package com.ty.game.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Index;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author: Troy.Chen(失足程序员, 15388152619)
 * @version: 2021-07-28 20:27
 **/
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Table
public class LogT2 implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(isKey = true)
    private int id;
    @Index
    @Column(length = 60)
    private String name;
}
